package com.fuyin.service.user;

import com.fuyin.commons.response.BaseResponse;
import com.fuyin.dto.vo.GpDetails;
import com.fuyin.dto.vo.ModelReport;
import com.fuyin.dto.vo.RiskReport;
import com.fuyin.dto.vo.RzNeed;

import java.util.ArrayList;

/**
 * @author yuanxilan (yuanxilan@keep.com)
 * @Description
 * @date 2021年11月05日 4:24 下午
 * @since
 */
public interface GpService {

    BaseResponse<RiskReport> getRiskReport(String token, String gpName);

    BaseResponse<ModelReport> getModelReport(String token, RzNeed rzNeed, String gpName);

    BaseResponse<ArrayList<RiskReport.Analysis>> getAnalysis(GpDetails gpDetails);

    BaseResponse saveRiskReportInfo(String token, RiskReport riskReport);

    BaseResponse saveModelReportInfo(String token, ModelReport modelReport);

    BaseResponse<String> getModelAnalysis(GpDetails gpDetails);
}
